<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset={charset}" />

<title>{title}</title>

<script src="{url}plugins/content/mootools.js" type="text/javascript"></script>
<script src="{url}plugins/content/mootools-more.js" type="text/javascript"></script>
<link type="text/css" media="screen" rel="stylesheet" href="{tlpdir}stylesheets/reset.css" />
<link type="text/css" media="screen" rel="stylesheet" href="{tlpdir}main.css" />
<meta name="keywords" content="{keywords}" />
<meta name="description" content="{description}" />
<meta name="author" content="{author}" />
<meta name="robots" content="index, follow" />
<meta name="generator" content="VisionCMS - Open Source Content Management" />
<link href="favicon.ico" rel="icon" type="image/x-icon" />

<script type="text/javascript">

function urlencode(str) {
var tmp = escape(str).replace(/\+/g,'%2B').replace(/%20/g, '+').replace(/\*/g, '%2A').replace(/\//g, '%2F').replace(/@/g, '%40');
return escape(tmp);
}

function search(){
    var query = document.getElementById('search_keyword');
    window.location.href= "<?php echo System::$url ?>search/" + urlencode(query.value);
}
</script>
{header}
</head>
<body>
<div id="container">

  <div id="header">
    <h1><a href="#">{title}</a></h1>
    <ul id="utility-nav">
      <li class="first-item"><a href="http://code.google.com/p/vision-cms/">Google Code</a></li>
      <li><a href="http://martin.dimenze.net/">O autorovi</a></li>
    </ul>
    <div id="main-nav">
    {menuTop}
    </div>
    <!-- //#main-nav -->
  </div>
  <!-- //#header -->
  
  <div id="sub-header">
    <p class="breadcrumbs">{subTitle}</p>
      <fieldset id="search">
      <legend>Vyhledávání</legend>
      <input type="text" value="Vyhledávání" class="input-text" id="search_keyword" />
      <input type="button" class="input-button" onclick="javascript:search();" />
      </fieldset>
    <div id="directory">
      <div id="directory-inner" class="clearfix">
      {lastarticles}
      {lastcomments}
      {lastregistered}
      </div>
    </div>
  </div>
  <!-- //#sub-header -->
  
  <div id="sidebar">
    {leftblock}
  </div>
  <!-- //#sidebar -->
  
  <div id="main-content">
    {main}
    <!-- //.article -->
      </div>
  <!-- //#main-content -->
  
  <div id="footer">
    <p class="authors">{footer}</p>
  </div>
  <!-- //#footer -->
  
</div>
<!-- //#container -->
</body>
</html>
